<?php 
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='javascript:;' class="on"><em>邀请信息列表</em></a>  </div>
</div>
<div class="pad_10">
<div class="table-list">
    <table width="100%" cellspacing="0">
      <thead>
          <tr>
            <th align="center">发送邀请人</th>
            <th align="center">邮箱地址</th>
            <th align="center">是否得到余额返现</th>
            <th align="center">优惠卷</th>
            <th align="center">优惠卷使用日期</th>
            <th align="center">被邀请人</th>
            <th align="center">邮箱地址</th>
            <th align="center">邮件投递时间</th>
            <th align="center">优惠卷</td>
            <th align="center">优惠卷使用日期</th>
            <th align="center">使用语言</th>
          </tr>
      </thead>
                <tbody>
                    <?php 
                    foreach($list as $k=>$v):?>
                    <tr>
                        <td align="center"><?php echo $v['user_name']?></td>
                        <td align="center"><?php echo $v['user_email']?></td>
                        <td align="center"><?php if($v['fanxian_status']){ echo '<font color="red">√</font>';}else{ echo '否'; }?></td>
                        <td align="center"><?php echo $v['user_coupon_code'];?></td>
                        <td align="center"><?php echo !empty($v['user_coupon_time']) ? date("Y-m-d H:i",$v['user_coupon_time']) : '未使用'?></td>
                        <td align="center"><?php echo $v['invited_name']?></td>
                        <td align="center"><?php echo $v['invited_email']?></td>
                        <td align="center"><?php echo !empty($v['invite_send_time']) ? date("Y-m-d H:i",$v['invite_send_time']) : '未寄出'?></td>
                        <td align="center"><?php echo $v['invite_coupon_code']?></td>
                        <td align="center"><?php echo !empty($v['invite_coupon_time']) ? date("Y-m-d H:i",$v['invite_coupon_time']) : '未使用'?></td>
                        <td align="center"><?php echo $language[$v['language_id']]['name']?></td>
                    </tr>
                    <?php endforeach;?>
		</tbody>
	</table>
	<div id="pages"><?php echo $pageShow;?></div>
</div>
</div>
</body>
</html>
